﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FusionDotNet
{
    /// <summary>
    /// Implementation of CommandResult that returns a single value from the Command.
    /// </summary>
    /// <typeparam name="TResult">The type of result returned by the ScalarResult.</typeparam>
    public class ScalarResult<TResult> : CommandResult
    {
        /// <summary>
        /// The Value returned by the operation.
        /// </summary>
        public TResult Result { get; internal set; }
    }
}
